package com.jf.identity.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 试卷 实体
 *
 * @author FCG
 */
public class Paper implements Serializable {
    private static final long serialVersionUID = 7741332266565015605L;
    /**
     * 备用卷上报uuid
     */
    private String uid;
    /**
     * 试卷使用数量 最大50字符
     */
    @NotBlank(message = "试卷使用数量 不能为空")
    @Size(max = 50, message = "试卷使用数量 最大50字符")
    private String paperNum;
    /**
     * 试卷启用说明 最大100字符
     */
    @NotBlank(message = "试卷启用说明 不能为空")
    @Size(max = 100, message = "试卷启用说明 最大100字符")
    private String description;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getPaperNum() {
        return paperNum;
    }

    public void setPaperNum(String paperNum) {
        this.paperNum = paperNum;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Paper{" +
                "uid='" + uid + '\'' +
                ", paperNum='" + paperNum + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
